package com.handpay.nocardpay.baselibrary.qualificationinfo.view;

import com.handpay.nocardpay.baselibrary.commbase.view.IBaseView;
import com.handpay.nocardpay.baselibrary.qualificationinfo.model.bean.BankList;
import com.handpay.nocardpay.baselibrary.qualificationinfo.model.bean.ResultSingleBankBean;
import com.handpay.nocardpay.baselibrary.qualificationinfo.model.bean.SubBankBean;
import com.handpay.nocardpay.baselibrary.qualificationinfo.model.bean.ThreeElementResult;

/**
 * 填写资质ui操作接口
 * 主要和QualificationBaseInfoFragment页面交互
 */
public interface IQualificationView extends IBaseView {
    /**
     * 显示发卡行数据
     * @param bankList
     */
    void showBankList(BankList bankList);

    void queryBankListFail(String baseErrorInfo);
    /**
     * 显示支行数据
     * @param subBankBean
     */
    void showSubBankList(SubBankBean subBankBean);

    /**
     * 根据卡bin选择主行信息
     * @param resultSingleBankBean
     */
    void selectedBank(ResultSingleBankBean resultSingleBankBean);

    /**
     * 检查卡信息成功
     */
    void checkCardThreeElementsSuccess(ThreeElementResult threeElementResult);

    /**
     * 检查卡信息失败
     * @param baseErrorInfo
     */
    void checkCardThreeElementsFail(String baseErrorInfo);
}